package Solution;


public class Solution {
	 public boolean arrayStringsAreEqual(String[] word1, String[] word2) {
		 String str1= ""; 
		 String str2="";
		 for(String a:word1) {
			 str1=str1+a;
		 }
		 for(String b:word2) {
			 str2=str2+b;
		 }
	    
	       
	 boolean a= str1.equals(str2);
	       
		 return a ;
}

}